const data = {
    state: () => ({
        // 前端页面的菜单显示与隐藏
        showNavs: false,
        showInfoBox: false,//手机端显示用户信息
        isShowSearch:false,//显示搜索输入框
    }),
    mutations: {
        submitShowNavs(state, n) {
            state.showNavs = n
        },
        submitShowInfoBox(state, n) {
            state.showInfoBox = n
        },
        submitShowSearchBox(state, n) {
            state.isShowSearch = n
        },
    }
};

export default data;
